package com.bj.dljd.util;

import com.baomidou.mybatisplus.core.toolkit.IdWorker;

/**
 * 生成id password等值工具类
 */
public class IdUtil {

    /*uuid 作为主键值*/
    public static String id() {
        return IdWorker.get32UUID();
    }


    /*生成UserNo*/
    public static String buildUserNo() {
        return "8" +IdWorker.getId() ;
    }

    /*生成AccountNo*/
    public static String buildAccountNo() {
        return "9" +IdWorker.getId() ;
    }
    /*生成Password*/
    public static String uuid() {
        return IdWorker.get32UUID();
    }
}
